//token
export const setToken=token=>{
    return{
        type:'SET_TOKEN',
        token
    }
};
//openKeys
export const setOpenKeys=openKeys=>{
    return{
        type:'SET_OPEN_KEYS',
        openKeys
    }
};
//selectedKeys
export const setSelectedKey=selectedKey=>{
    return{
        type:'SET_SELECTED_KEY',
        selectedKey
    }
};
